package MRdemo;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.util.ToolRunner;

public class StartDriver {
    private static final Log logger = LogFactory.getLog(StartDriver.class);
    public static void main(String[] args) throws Exception {
        JobFile jobFile = new JobFile();
        Configuration conf = new Configuration();
        String input = "C:/Users/10988/Desktop/TestData/demo/input";
        String output = "C:/Users/10988/Desktop/TestData/demo/output";
        conf.set("INPUT_PATH", input);
        conf.set("OUTPUT_PATH", output);;

        ToolRunner.run(conf,jobFile,null);
    }
}
